<?php

class Adept_Template_ModificatorInfo 
{
    
    protected $alias;
    protected $class;
    protected $minParams = null;
    protected $maxParams = null;
    protected $parameters = array();
    
    public function getAlias() 
    {
        return $this->alias;
    }
    
    public function setAlias($alias) 
    {
        $this->alias = $alias;
    }
    
    public function getClass() 
    {
        return $this->class;
    }
    
    public function setClass($class) 
    {
        $this->class = $class;
    }
    
    public function getMinParams() 
    {
        return $this->minParams;
    }
    
    public function setMinParams($minParams) 
    {
        $this->minParams = $minParams;
    }
    
    public function getMaxParams() 
    {
        return $this->maxParams;
    }
    
    public function setMaxParams($maxParams) 
    {
        $this->maxParams = $maxParams;
    }
    
    public function getParameter($name) 
    {
        return isset($this->parameters[$name]) ? $this->parameters[$name] : null;
    }
    
    public function setParameter($name, $parameter) 
    {
        $this->parameters[$name] = $parameter;
    }
    
    public function getParameters() 
    {
        return $this->parameters;
    }
    
    public function setParameters($parameters) 
    {
        $this->parameters = $parameters;
    }    
    
}
